﻿using System;
using UniMana.Data;
using UniMana.Utils.Controls;
namespace UniMana.Win.Leadership
{
    public partial class FrmReport_RptSubjectList: DevExpress.XtraReports.UI.XtraReport
    {
        private DBMain m_ReportSubjectList = new DBMain();
        public FrmReport_RptSubjectList(bds _bdsSource)
        {
            InitializeComponent();
            this.DataSource = _bdsSource;
            xrtGhiChu.DataBindings.Add("Text", this.DataSource, "GhiChu");
            xrtKhoa.DataBindings.Add("Text", this.DataSource, "TenKhoa");
            xrtMaMonHoc.DataBindings.Add("Text", this.DataSource, "ID");
            xrtTenLoaiMH.DataBindings.Add("Text", this.DataSource, "TenLoaiMH");
            xrtTenMonHoc.DataBindings.Add("Text", this.DataSource, "TenMonHoc");
            xrtTenNhomKT.DataBindings.Add("Text", this.DataSource, "TenNhomKT");
            
          
            xrlNgayThang.Text = 
                "Tân An," + "ngày" + " " + 
                DateTime.Now.Day+" " + "tháng" + " " + 
                DateTime.Now.Month+" " + "năm" + " " + 
                DateTime.Now.Year;
        }
            
    }
}
